package com.world.business.user.domain.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 用户装备数量变更
 *
 * @author WangYX
 * @version 1.0.0
 * @date 2023/09/05 16:08
 */
@Data
public class UserEquipmentNumChangeRequest {

    @ApiModelProperty("用户Id")
    @NotNull(message = "用户Id必填！")
    private Long userId;

    @ApiModelProperty("对应Id")
    @NotNull(message = "对应Id必填！")
    private Long relationId;

    @ApiModelProperty("变化数量，可为负数")
    @NotNull(message = "数量必填！")
    private Integer num;

}
